package com.oauth.yahoo.client.beans;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class YahooModel implements IsSerializable {

	private boolean loginView;
	private List<Mail> mailList;

	public YahooModel() {
		mailList = new ArrayList<Mail>(1);
	}

	/**
	 * @return the loginView
	 */
	public boolean isLoginView() {
		return loginView;
	}

	/**
	 * @param pLoginView the loginView to set
	 */
	public void setLoginView(boolean pLoginView) {
		loginView = pLoginView;
	}

	/**
	 * @return the mailList
	 */
	public List<Mail> getMailList() {
		return mailList;
	}

	/**
	 * @param pMailList the mailList to set
	 */
	public void setMailList(List<Mail> pMailList) {
		mailList = pMailList;
	}


}
